package com.vhly.ddxdecompiler.dexreader.file.constant;

import com.vhly.ddxdecompiler.dexreader.file.DexFile;

/**
 * Created by IntelliJ IDEA.
 * User: vhly[FR]
 * Date: 2009-10-20
 * Time: 23:53:14
 * Platform: Mac OS X 10.5.8
 *
 * @author vhly[FR]
 */
public class CstDouble implements CstConstant{
    private double value;

    public CstDouble(double dl) {
        value = dl;
    }

    public double getValue() {
        return value;
    }

    public void reloc(DexFile dex) {
    }

    public Object getJavaData() {
        return value;
    }

    public String getJavaType() {
        return "D";
    }
}
